package com.xiaoq.user.endpoint;

import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility;
import com.xiaoq.users.entity.UserTermDeviceEntity;

import io.swagger.annotations.ApiModelProperty;

@JsonAutoDetect(fieldVisibility = Visibility.ANY, getterVisibility = Visibility.NONE, setterVisibility = Visibility.NONE)
@JsonInclude(value = JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
public class LoginVo {
	
	@ApiModelProperty(value = "手机号")
	private String mobile;
	
	@ApiModelProperty(value = "密码")
	private String passwd;
	
	@ApiModelProperty(value = "短信验证码")
	private String smsCode;
	
	@ApiModelProperty(value = "验证码")
	private VCodeVo vCode;
	
	@ApiModelProperty(value = "IP地址")
	private String ip;
	
	@ApiModelProperty(value = "终端信息")
	private UserTermDeviceEntity termDevice; 
	
	@ApiModelProperty(value = "token过期时间")
	private Integer durToken;

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getPasswd() {
		return passwd;
	}

	public void setPasswd(String passwd) {
		this.passwd = passwd;
	}

	public String getSmsCode() {
		return smsCode;
	}

	public void setSmsCode(String smsCode) {
		this.smsCode = smsCode;
	}

	public VCodeVo getvCode() {
		return vCode;
	}

	public void setvCode(VCodeVo vCode) {
		this.vCode = vCode;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public UserTermDeviceEntity getTermDevice() {
		return termDevice;
	}

	public void setTermDevice(UserTermDeviceEntity termDevice) {
		this.termDevice = termDevice;
	}

	public Integer getDurToken() {
		return durToken;
	}

	public void setDurToken(Integer durToken) {
		this.durToken = durToken;
	}
	
	
	
	

}
